Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use laravel prompts #2

Merged
merged 10 commits into from
Dec 6, 2023
Merged

Use laravel prompts #2

merged 10 commits into from
Dec 6, 2023

Conversation

marvil07-adapt
Copy link
Contributor

laravel/prompts seems to improve a lot the user experience compared with raw symfony console.
It is actually built on top of symfony console.

One of the things it lacks is a widget for multi-line input, but there is an open PR at laravel/prompts#88 that provides that.

So, to be able to use that, I also needed to add cweagans/composer-patches.
I added a local diff instead of downloading it dynamically, currently tested with laravel prompts at v0.1.13.

Overall, this adds many dependencies, but the boost in UX is quite nice, so I will take that for now.
If this proves to be hard to maintain, raw symfony console approach will be there.

cc @diegoe

@marvil07-adapt marvil07-adapt self-assigned this Dec 6, 2023
@marvil07-adapt marvil07-adapt linked an issue Dec 6, 2023 that may be closed by this pull request
@marvil07-adapt marvil07-adapt merged commit 2bb2773 into main Dec 6, 2023
1 check passed
@marvil07-adapt marvil07-adapt deleted the prompts branch December 6, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Symfony's ConsoleQuestion does not support key navigation
1 participant